package com.ljf.tijian.mapper;

import com.ljf.tijian.pojo.Doctor;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DoctorMapper {

    int deleteByPrimaryKey(Integer docId);

    int insert(Doctor record);

    int insertSelective(Doctor record);

    Doctor selectByPrimaryKey(Integer docId);

    int updateByPrimaryKeySelective(Doctor record);

    int updateByPrimaryKey(Doctor record);

//    @Select("select docId, docCode, realName, password, sex, deptno from docter where docCode = #{docCode}")
    public Doctor selectDocterByCode(Doctor doctor);
}
